<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui" />

<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telphone=no,email=no" />
<link rel="stylesheet" href="css/style.css"><!--引入css-->
<title>头像截取上传</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<style>

</style>
</head>
<body ontouchstart="">
		<section class="logo-license">
			<div class="half">
				<a class="logo" id="logox">
					<img id="bgl" src="img/1.jpg">
				</a>
			</div>
			<div class="clear"></div>
		</section>
		<!-- 头像截取上传框 S-->
		<article class="htmleaf-container">
			<div id="clipArea"></div>
			<button class="absolute cancel_img bordernone">取消</button>	
			<div class="foot-use">
				<div class="uploader1 blue">
					<input type="button" name="file" class="button" value="打开相册">
					<input id="file" type="file" accept="image/*" multiple  />
				</div>
				<button id="clipBtn">截取</button>
			</div>
			<div id="view"></div>
		</article>
		<div>i'm working</div>
		<div>i'm fixed already, back working</div>

<script src="js/require.js" data-main="js/zyjFaceUploader.js"></script><!--引入js-->
<script type="text/javascript">
	var _width = $(window).width();
	   var _ziHao = 20 * (_width/320);
	   if(_width < 641){
		   $("#ben").css({"font-size":_ziHao + "px"})
	   }
	</script>
<script>
	/*var pc = new PhotoClip('#clipArea', {
		size: 260,
		outputSize: 640,
		//adaptive: ['60%', '80%'],
		file: '#file',
		view: '#view',
		ok: '#clipBtn',
		//img: 'img/mm.jpg',
		loadStart: function() {
			console.log('开始读取照片');
		},
		loadComplete: function() {
			console.log('照片读取完成');
		},
		done: function(dataURL) {
			//console.log(dataURL);
		},
		fail: function(msg) {
			alert(msg);
		}
	});
	
	// 加载的图片必须要与本程序同源，否则无法截图
	pc.load('img/mm.jpg');*/
console.log('fix-branch')
</script>
</body>
</html>